package com.pinghua.mocha.basics.enumerate.fwct;

import com.coffee.core.CoffeeEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author yangziyang
 * @since 2025/3/26
 */
public interface RecycleIllegalEnum {

    @Getter
    @AllArgsConstructor
    enum Status implements CoffeeEnum<Integer> {
        UNCONFIRMED(10, "待确认"),
        CONFIRMED(20, "已确认");

        @JsonValue
        private final Integer code;

        private final String label;

        @Override
        public Integer code() {
            return this.code;
        }

        @Override
        public String label() {
            return this.label;
        }
    }
}
